#include "stdafx.h"
#include "Headers.h"
#include "GameFunctions.h"

void LoadAnimation_TITLE(GameNode* gn)
{
}

void LoadAnimation_LOADOUT_SCREEN(GameNode* gn)
{
	SpriteList[4].TotalAnimations = 1;
	SpriteList[4].Animations = new AnimationElem[1];

	SpriteList[4].Animations[0].TotalFrames=5;
	SpriteList[4].Animations[0].ConnectTo = 0;
	SpriteList[4].Animations[0].Frames = new FrameElem[5];

	SpriteList[4].Animations[0].Frames[0].BitmapName = "button-background.bmp";
	SpriteList[4].Animations[0].Frames[0].TranslateX = 0.000;
	SpriteList[4].Animations[0].Frames[0].TranslateY = 0.000;
	SpriteList[4].Animations[0].Frames[0].Delay = 1;
	SpriteList[4].Animations[0].Frames[0].Width = 100;
	SpriteList[4].Animations[0].Frames[0].Height = 100;
	SpriteList[4].Animations[0].Frames[0].Transparency = RGB(240,240,240);
	SpriteList[4].Animations[0].Frames[0].hFlip = false;
	SpriteList[4].Animations[0].Frames[0].vFlip = false;
	SpriteList[4].Animations[0].Frames[0].zRotation = 0;
	SpriteList[4].Animations[0].Frames[0].HotSpot[0].x = 50;
	SpriteList[4].Animations[0].Frames[0].HotSpot[0].y = 50;
	::SetRect( &SpriteList[4].Animations[0].Frames[0].BBox, 0, 0, 99,99);
	SpriteList[4].Animations[0].Frames[0].centerX = 50;
	SpriteList[4].Animations[0].Frames[0].centerY = 50;
	SpriteList[4].Animations[0].Frames[0].PegRegistered = false;
	SpriteList[4].Animations[0].Frames[0].useTransparency = true;

	SpriteList[4].Animations[0].Frames[1].BitmapName = "button-creeper.bmp";
	SpriteList[4].Animations[0].Frames[1].TranslateX = 0.000;
	SpriteList[4].Animations[0].Frames[1].TranslateY = 0.000;
	SpriteList[4].Animations[0].Frames[1].Delay = 1;
	SpriteList[4].Animations[0].Frames[1].Width = 100;
	SpriteList[4].Animations[0].Frames[1].Height = 100;
	SpriteList[4].Animations[0].Frames[1].Transparency = RGB(255,255,255);
	SpriteList[4].Animations[0].Frames[1].hFlip = false;
	SpriteList[4].Animations[0].Frames[1].vFlip = false;
	SpriteList[4].Animations[0].Frames[1].zRotation = 0;
	SpriteList[4].Animations[0].Frames[1].HotSpot[0].x = 50;
	SpriteList[4].Animations[0].Frames[1].HotSpot[0].y = 50;
	::SetRect( &SpriteList[4].Animations[0].Frames[1].BBox, 0, 0, 99,99);
	SpriteList[4].Animations[0].Frames[1].centerX = 50;
	SpriteList[4].Animations[0].Frames[1].centerY = 50;
	SpriteList[4].Animations[0].Frames[1].PegRegistered = false;
	SpriteList[4].Animations[0].Frames[1].useTransparency = true;

	SpriteList[4].Animations[0].Frames[2].BitmapName = "button-overlord.bmp";
	SpriteList[4].Animations[0].Frames[2].TranslateX = 0.000;
	SpriteList[4].Animations[0].Frames[2].TranslateY = 0.000;
	SpriteList[4].Animations[0].Frames[2].Delay = 1;
	SpriteList[4].Animations[0].Frames[2].Width = 100;
	SpriteList[4].Animations[0].Frames[2].Height = 100;
	SpriteList[4].Animations[0].Frames[2].Transparency = RGB(255,255,255);
	SpriteList[4].Animations[0].Frames[2].hFlip = false;
	SpriteList[4].Animations[0].Frames[2].vFlip = false;
	SpriteList[4].Animations[0].Frames[2].zRotation = 0;
	SpriteList[4].Animations[0].Frames[2].HotSpot[0].x = 50;
	SpriteList[4].Animations[0].Frames[2].HotSpot[0].y = 50;
	::SetRect( &SpriteList[4].Animations[0].Frames[2].BBox, 0, 0, 99,99);
	SpriteList[4].Animations[0].Frames[2].centerX = 50;
	SpriteList[4].Animations[0].Frames[2].centerY = 50;
	SpriteList[4].Animations[0].Frames[2].PegRegistered = false;
	SpriteList[4].Animations[0].Frames[2].useTransparency = true;

	SpriteList[4].Animations[0].Frames[3].BitmapName = "button-soldier.bmp";
	SpriteList[4].Animations[0].Frames[3].TranslateX = 0.000;
	SpriteList[4].Animations[0].Frames[3].TranslateY = 0.000;
	SpriteList[4].Animations[0].Frames[3].Delay = 1;
	SpriteList[4].Animations[0].Frames[3].Width = 100;
	SpriteList[4].Animations[0].Frames[3].Height = 100;
	SpriteList[4].Animations[0].Frames[3].Transparency = RGB(255,255,255);
	SpriteList[4].Animations[0].Frames[3].hFlip = false;
	SpriteList[4].Animations[0].Frames[3].vFlip = false;
	SpriteList[4].Animations[0].Frames[3].zRotation = 0;
	SpriteList[4].Animations[0].Frames[3].HotSpot[0].x = 50;
	SpriteList[4].Animations[0].Frames[3].HotSpot[0].y = 50;
	::SetRect( &SpriteList[4].Animations[0].Frames[3].BBox, 0, 0, 99,99);
	SpriteList[4].Animations[0].Frames[3].centerX = 50;
	SpriteList[4].Animations[0].Frames[3].centerY = 50;
	SpriteList[4].Animations[0].Frames[3].PegRegistered = false;
	SpriteList[4].Animations[0].Frames[3].useTransparency = true;

	SpriteList[4].Animations[0].Frames[4].BitmapName = "button-swarm.bmp";
	SpriteList[4].Animations[0].Frames[4].TranslateX = 0.000;
	SpriteList[4].Animations[0].Frames[4].TranslateY = 0.000;
	SpriteList[4].Animations[0].Frames[4].Delay = 1;
	SpriteList[4].Animations[0].Frames[4].Width = 100;
	SpriteList[4].Animations[0].Frames[4].Height = 100;
	SpriteList[4].Animations[0].Frames[4].Transparency = RGB(255,255,255);
	SpriteList[4].Animations[0].Frames[4].hFlip = false;
	SpriteList[4].Animations[0].Frames[4].vFlip = false;
	SpriteList[4].Animations[0].Frames[4].zRotation = 0;
	SpriteList[4].Animations[0].Frames[4].HotSpot[0].x = 50;
	SpriteList[4].Animations[0].Frames[4].HotSpot[0].y = 50;
	::SetRect( &SpriteList[4].Animations[0].Frames[4].BBox, 0, 0, 99,99);
	SpriteList[4].Animations[0].Frames[4].centerX = 50;
	SpriteList[4].Animations[0].Frames[4].centerY = 50;
	SpriteList[4].Animations[0].Frames[4].PegRegistered = false;
	SpriteList[4].Animations[0].Frames[4].useTransparency = true;



}

void LoadAnimation_GAMEPLAY(GameNode* gn)
{
	SpriteList[1].TotalAnimations = 1;
	SpriteList[1].Animations = new AnimationElem[1];

	SpriteList[1].Animations[0].TotalFrames=1;
	SpriteList[1].Animations[0].ConnectTo = 0;
	SpriteList[1].Animations[0].Frames = new FrameElem[1];

	SpriteList[1].Animations[0].Frames[0].BitmapName = "wall.bmp";
	SpriteList[1].Animations[0].Frames[0].TranslateX = 0.000;
	SpriteList[1].Animations[0].Frames[0].TranslateY = 0.000;
	SpriteList[1].Animations[0].Frames[0].Delay = 1;
	SpriteList[1].Animations[0].Frames[0].Width = 32;
	SpriteList[1].Animations[0].Frames[0].Height = 32;
	SpriteList[1].Animations[0].Frames[0].Transparency = RGB(240,240,240);
	SpriteList[1].Animations[0].Frames[0].hFlip = false;
	SpriteList[1].Animations[0].Frames[0].vFlip = false;
	SpriteList[1].Animations[0].Frames[0].zRotation = 0;
	SpriteList[1].Animations[0].Frames[0].HotSpot[0].x = 16;
	SpriteList[1].Animations[0].Frames[0].HotSpot[0].y = 16;
	::SetRect( &SpriteList[1].Animations[0].Frames[0].BBox, 0, 0, 31,31);
	SpriteList[1].Animations[0].Frames[0].centerX = 16;
	SpriteList[1].Animations[0].Frames[0].centerY = 16;
	SpriteList[1].Animations[0].Frames[0].PegRegistered = false;
	SpriteList[1].Animations[0].Frames[0].useTransparency = false;



	SpriteList[2].TotalAnimations = 1;
	SpriteList[2].Animations = new AnimationElem[1];

	SpriteList[2].Animations[0].TotalFrames=1;
	SpriteList[2].Animations[0].ConnectTo = 0;
	SpriteList[2].Animations[0].Frames = new FrameElem[1];

	SpriteList[2].Animations[0].Frames[0].BitmapName = "wall2.bmp";
	SpriteList[2].Animations[0].Frames[0].TranslateX = 0.000;
	SpriteList[2].Animations[0].Frames[0].TranslateY = 0.000;
	SpriteList[2].Animations[0].Frames[0].Delay = 1;
	SpriteList[2].Animations[0].Frames[0].Width = 32;
	SpriteList[2].Animations[0].Frames[0].Height = 32;
	SpriteList[2].Animations[0].Frames[0].Transparency = RGB(240,240,240);
	SpriteList[2].Animations[0].Frames[0].hFlip = false;
	SpriteList[2].Animations[0].Frames[0].vFlip = false;
	SpriteList[2].Animations[0].Frames[0].zRotation = 0;
	SpriteList[2].Animations[0].Frames[0].HotSpot[0].x = 16;
	SpriteList[2].Animations[0].Frames[0].HotSpot[0].y = 16;
	::SetRect( &SpriteList[2].Animations[0].Frames[0].BBox, 0, 0, 31,31);
	SpriteList[2].Animations[0].Frames[0].centerX = 16;
	SpriteList[2].Animations[0].Frames[0].centerY = 16;
	SpriteList[2].Animations[0].Frames[0].PegRegistered = false;
	SpriteList[2].Animations[0].Frames[0].useTransparency = false;



	SpriteList[5].TotalAnimations = 1;
	SpriteList[5].Animations = new AnimationElem[1];

	SpriteList[5].Animations[0].TotalFrames=1;
	SpriteList[5].Animations[0].ConnectTo = 0;
	SpriteList[5].Animations[0].Frames = new FrameElem[1];

	SpriteList[5].Animations[0].Frames[0].BitmapName = "alienplaceholder.bmp";
	SpriteList[5].Animations[0].Frames[0].TranslateX = 0.000;
	SpriteList[5].Animations[0].Frames[0].TranslateY = 0.000;
	SpriteList[5].Animations[0].Frames[0].Delay = 1;
	SpriteList[5].Animations[0].Frames[0].Width = 32;
	SpriteList[5].Animations[0].Frames[0].Height = 32;
	SpriteList[5].Animations[0].Frames[0].Transparency = RGB(0,80,110);
	SpriteList[5].Animations[0].Frames[0].hFlip = false;
	SpriteList[5].Animations[0].Frames[0].vFlip = false;
	SpriteList[5].Animations[0].Frames[0].zRotation = 0;
	SpriteList[5].Animations[0].Frames[0].HotSpot[0].x = 16;
	SpriteList[5].Animations[0].Frames[0].HotSpot[0].y = 16;
	::SetRect( &SpriteList[5].Animations[0].Frames[0].BBox, 0, 0, 31,31);
	SpriteList[5].Animations[0].Frames[0].centerX = 16;
	SpriteList[5].Animations[0].Frames[0].centerY = 16;
	SpriteList[5].Animations[0].Frames[0].PegRegistered = false;
	SpriteList[5].Animations[0].Frames[0].useTransparency = true;



}

void LoadAnimation_SPEC_TREE(GameNode* gn)
{
}

